/**
 * 
 */
package com.barry.download.http;

import org.apache.http.HttpResponse;

import com.barry.download.exception.RequestException;
import com.barry.download.util.TaskExcutor;

/**
 * @author Tom·barry
 * 用于解析服务端的响应数据
 */
public interface IResponseParser<T>
{
    public Object parseResponse(HttpResponse response) throws RequestException;
    public TaskExcutor<T> getTaskRefer();
}
